package com.wisdytech.linkdcs.partLife.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 设备型号备件
 * </p>
 *
 * @author chenbin
 * @since 2018-06-05
 */
@TableName("TT_EQ_MODEL_PART")
public class ModelPart extends Model<ModelPart> {

    private static final long serialVersionUID = 1L;
    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 设备型号编号
     */
    @TableField("MODEL_CODE")
    private String modelCode;
    /**
     * 备件id
     */
    @TableField("PART_ID")
    private String partId;
    /**
     * 位置编号
     */
    @TableField("LOCATION_CODE")
    private String locationCode;
    /**
     * 位置名称
     */
    @TableField("LOCATION_NAME")
    private String locationName;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;
    /**
     * 备件编码
     */
    @TableField(exist=false)
    private String partCode;
    /**
     * 备件名称
     */
    @TableField(exist=false)
    private String partName;
    /**
     * 备件类型（专用件、通用件）
     */
    @TableField(exist=false)
    private String partType;
    
    
    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getModelCode() {
		return modelCode;
	}

	public void setModelCode(String modelCode) {
		this.modelCode = modelCode;
	}

	public String getPartId() {
        return partId;
    }

    public void setPartId(String partId) {
        this.partId = partId;
    }

    public String getLocationCode() {
        return locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }
    

    public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	

	public String getPartCode() {
		return partCode;
	}

	public void setPartCode(String partCode) {
		this.partCode = partCode;
	}

	public String getPartName() {
		return partName;
	}

	public void setPartName(String partName) {
		this.partName = partName;
	}

	public String getPartType() {
		return partType;
	}

	public void setPartType(String partType) {
		this.partType = partType;
	}

	@Override
    protected Serializable pkVal() {
        return this.pkId;
    }

}
